<?php
namespace App\Module\Admin\Controller;

use App\Common\Controller\AbstractController;
use App\Module\Admin\Service\StatisService;
use Hyperf\Di\Annotation\Inject;

class StatisController extends AbstractController{

    /**
     * @Inject()
     * @var StatisService $statisService
     */
    private $statisService;

    public function index(){
        return $this->response->json($this->statisService->index());
    }
}